package com.ruoyi.city.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 区县信息对象 house_district
 * 
 * @author ruoyi
 * @date 2025-09-10
 */
@Data
public class HouseDistrict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区县ID */
    private Integer districtId;

    /** 区县名称 */
    @Excel(name = "区县名称")
    private String districtName;

    /** 所属城市ID */
    @Excel(name = "所属城市ID")
    private Integer cityId;

    public void setDistrictId(Integer districtId) 
    {
        this.districtId = districtId;
    }

    public Integer getDistrictId() 
    {
        return districtId;
    }

    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }

    public void setCityId(Integer cityId) 
    {
        this.cityId = cityId;
    }

    public Integer getCityId() 
    {
        return cityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("districtId", getDistrictId())
            .append("districtName", getDistrictName())
            .append("cityId", getCityId())
            .toString();
    }
}
